package com.zookeeper.base;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

/**
 * @ClassName sss
 * @Author FangShanShan
 * @Description aaa
 * @Date 2020/4/7 17:27
 */
public class sss {

    public static void main(String[] args) {
        String ss = "{  \"code\" : 0,  \"message\" : \"操作成功\",  \"value\" : {    \"result\" : true  }}";
        JSONObject jsonObject = JSONObject.parseObject(ss);
        JSONObject sstt = (JSONObject) jsonObject.get("value");
        boolean result = (boolean) sstt.get("result");
        System.out.println("tt.main" + result);
    }
}